#include "mpHttpDefines.h"

namespace MP{
namespace HTTP{


const char* HTTP_SEND_STATU_CODE_TOSTRING(HTTP_SEND_STATU_CODE c)
{
    switch (c) {
    case OK:   return "OK";
    case Unkown:  return "Unkown";
    case UnsetHost:  return "UnsetHost";
    case ErrTimeout:  return "ErrTimeout";
    case ErrResolve:  return "ErrResolve";
    case ErrConnect:  return "ErrConnect";
    case ErrWrite:  return "ErrWrite";
    case ErrRequestData:  return "ErrRequestData";
    case ErrInvalidResponse:  return "ErrInvalidResponse";
    case ErrRead:  return "ErrRead";
    case ErrConnection:  return "ErrConnection";
    case ErrNotHttp200:  return "ErrNotHttp200";
    default: return "";
    }
}

}   //HTTP
}   //MP
